import request from "../request"

export const Registers = data => {
  return request({
    url: '/users/reg',
    method: 'post',
    data
  })
}
export const Logins = ({ u, p }) => {
  return request({
    url: '/users/login',
    method: 'get',
    params: {
      u: u,
      p: p
    }
  })
}

